﻿<UserControl x:Class="InfoKiosk.Page" Loaded="Page_Loaded"
    xmlns="http://schemas.microsoft.com/client/2007" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid x:Name="LayoutRoot" Background="White"> 
        
        <Grid.RowDefinitions>
            <RowDefinition MaxHeight="100" Height="Auto" />
            <RowDefinition MaxHeight="30" Height="Auto"/>
            <RowDefinition Height="*" />
            <RowDefinition MaxHeight="50" Height="Auto"/>
        </Grid.RowDefinitions>

        <TextBlock x:Name="pageTitle" Grid.Row="0" 
                   Style="{StaticResource pageTitle}"
                   Visibility="Collapsed"/>
		
        <Grid x:Name="ProgressBar" Height="30" Grid.Row="1" Visibility="Collapsed">
        	<Grid.Background>
        		<LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
        			<GradientStop Color="#FF000000"/>
        			<GradientStop Color="#FFFFFFFF" Offset="1"/>
        		</LinearGradientBrush>
        	</Grid.Background>
            <Grid.ColumnDefinitions>
                <ColumnDefinition x:Name="positionMarker_Begin" Width="1*"/>
                <ColumnDefinition MinWidth="15" MaxWidth="15" />
                <ColumnDefinition x:Name="positionMarker_End" Width="9*" />
            </Grid.ColumnDefinitions>
            
            <Rectangle Grid.Column="0" Fill="{StaticResource progressBar_Green}"/>
            <Rectangle Grid.Column="1" Fill="White" />
            <Rectangle Grid.Column="2" Width="Auto" Fill="{StaticResource progressBar_Red}" />
        </Grid>

        <StackPanel Grid.Row="2" x:Name="contentLocation" Height="Auto" />
        
        <StackPanel x:Name="footer" Grid.Row="3" VerticalAlignment="Top" MaxHeight="50"
                    Visibility="Collapsed">
            <Line X1="0" X2="1" Stretch="Fill" Stroke="#FF1D4F7A" StrokeThickness="1" />
            <TextBlock x:Name="positionIndicator" 
                       Style="{StaticResource progressBar_Indicator}" >
            </TextBlock>
      </StackPanel>
    </Grid>
</UserControl>
